package com.example.tsproject.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.tsproject.entity.Videos;
import com.example.tsproject.service.VideosService;
import com.example.tsproject.mapper.VideosMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 86183
* @description 针对表【videos】的数据库操作Service实现
* @createDate 2025-03-13 15:55:51
*/
@Service
public class VideosServiceImpl extends ServiceImpl<VideosMapper, Videos>
    implements VideosService{
    @Autowired
    private VideosMapper videosMapper;
    @Override
    public List<Videos> onlineSql(String sql2) {
        System.out.println(sql2);
        return videosMapper.getvideodetail(sql2);
//        return postsMapper.getPostById222(sql2);
    }


}




